if exists(select name from sysobjects where name = 'sp_SanPhamDeleteSlideById')
	drop proc sp_SanPhamDeleteSlideById
go
/*-- =============================================
	Created by: HP
	Created on: 2014-03-25 (dd/mm/yyyy)
	Description: 
	--

	File:$sql-scripts/Proc.sp_SanPhamDeleteSlideById.sql
*/-- =============================================

CREATE PROCEDURE sp_SanPhamDeleteSlideById
		
	@Id      		INT
AS
BEGIN
	UPDATE SanPham SET Image1=null
	WHERE
		    [Id]       = @Id;
END
GO
